Skip to content

[docs] mem continuation check#1323

Merged
kunxian-xia merged 3 commits intomasterfrom
feat/mem_docs
Apr 23, 2026
Merged

[docs] mem continuation check#1323
kunxian-xia merged 3 commits intomasterfrom
feat/mem_docs

Conversation

@hero78119
Copy link
Copy Markdown
Collaborator

Add docs follows #1223

Copilot Reviewer Directive (keep this section)

When Copilot reviews this PR, apply .github/copilot-instructions.md strictly.

@@ -0,0 +1,87 @@
# Memory Continuation Checks
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot does this doc implies the main intuition/idea that heap/init does not need to initialized in the first shard? We can load it until it's first accessed. Then we have to require that not a single address are being initialized twice.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes—that is the intended model. I updated the doc to state lazy dynamic init explicitly: early shards can have zero-length heap/hint segments until first access, and continuation is append-only/non-overlapping so an address cannot be initialized twice across shards. Fixed in fc8fc48.

auto-merge was automatically disabled April 23, 2026 03:32

Head branch was pushed to by a user without write access

Copilot AI requested a review from kunxian-xia April 23, 2026 03:33
@kunxian-xia kunxian-xia enabled auto-merge April 23, 2026 03:44
@kunxian-xia kunxian-xia added this pull request to the merge queue Apr 23, 2026
Merged via the queue into master with commit 9878155 Apr 23, 2026
6 checks passed
@kunxian-xia kunxian-xia deleted the feat/mem_docs branch April 23, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants